package com.soup.lab.executor;

import org.junit.jupiter.api.Test;

import java.util.concurrent.CompletableFuture;

public class CompletionStageTestCase {

    @Test
    public void test() {
        CompletableFuture completableFuture = new CompletableFuture();

    }


    static class PrintTask implements Runnable {

        private final String str;

        public PrintTask(String str) {
            this.str = str;
        }

        @Override
        public void run() {
            System.out.println(str);
        }
    }


}
